package com.cleaningcloud.erp.mapper;

import com.cleaningcloud.erp.domain.dto.StatisticsQueryDto;
import com.cleaningcloud.erp.domain.statistics.*;

import java.util.List;
import java.util.Map;

public interface StatisticsMapper {



    /**
     * 采购统计
     * @param procureStatistics
     * @return
     */
    List<ProcureStatistics> procureStatistics(ProcureStatistics procureStatistics);


    /**
     * 销售统计
     * @param saleStatistics
     * @return
     */
    List<SaleStatistics> saleStatistics(SaleStatistics saleStatistics);

    /**
     * 出库统计
     * @param outboundStatistics
     * @return
     */
    List<OutboundStatistics> outboundStatistics(OutboundStatistics outboundStatistics);


    /**
     * 入库统计
     * @param warehousingStatistics
     * @return
     */
    List<WarehousingStatistics> warehousingStatistics(WarehousingStatistics warehousingStatistics);


    /**
     * 库存统计 - 仓库统计
     * @return
     */
    List<Map<String,Object>> wareStatistics(StatisticsQueryDto statisticsQueryDto);

    /**
     * 库存统计 - 商品统计
     * @return
     */
    List<StockStatistics> stockStatistics(StatisticsQueryDto statisticsQueryDto);

    /**
     * 库存统计- 头部
     * @return
     */
    Map<String,Object> stockHeadStatistics();
}
